package net.zjitc.dao;

import net.zjitc.domain.Category;
import net.zjitc.domain.CategorySecond;

import java.sql.SQLException;
import java.util.List;

/**
 * 2 * @Author: 洪瑶
 * 3 * @Date: 2018/10/30 8:17
 * 4
 */
public interface SecondDao {
    List<CategorySecond> sqlfindAll() throws SQLException;
    boolean sqladd(CategorySecond second) throws SQLException;
    void sqldelete(int id) throws SQLException;
    CategorySecond sqlfindBy(int id) throws SQLException;
    boolean sqlUpdate(CategorySecond second, String id) throws SQLException;
}
